home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / modules / nessus-2.2.8.mo / usr / lib / nessus / plugins / mandrake_MDKSA-2004-088.nasl < prev    next >
Text File  |  2005-01-14  |  5KB  |  190 lines

  1. #
  2. # (C) Tenable Network Security
  3. #
  4. # This plugin text was extracted from Mandrake Linux Security Advisory MDKSA-2004:088
  5. #
  6.  
  7.  
  8. if ( ! defined_func("bn_random") ) exit(0);
  9. if(description)
  10. {
  11.  script_id(14673);
  12.  script_version ("$Revision: 1.1 $");
  13.  script_cve_id("CAN-2004-0642", "CAN-2004-0643", "CAN-2004-0644", "CAN-2004-0772");
  14.  
  15.  name["english"] = "MDKSA-2004:088: krb5";
  16.  
  17.  script_name(english:name["english"]);
  18.  
  19.  desc["english"] = "
  20. The remote host is missing the patch for the advisory MDKSA-2004:088 (krb5).
  21.  
  22.  
  23. A double-free vulnerability exists in the MIT Kerberos 5's KDC program that
  24. could potentially allow a remote attacker to execute arbitrary code on the KDC
  25. host. As well, multiple double-free vulnerabilities exist in the krb5 library
  26. code, which makes client programs and application servers vulnerable. The MIT
  27. Kerberos 5 development team believes that exploitation of these bugs would be
  28. difficult and no known vulnerabilities are believed to exist. The vulnerability
  29. in krb524d was discovered by Marc Horowitz; the other double-free
  30. vulnerabilities were discovered by Will Fiveash and Nico Williams at Sun.
  31. Will Fiveash and Nico Williams also found another vulnerability in the ASN.1
  32. decoder library. This makes krb5 vulnerable to a DoS (Denial of Service) attack
  33. causing an infinite loop in the decoder. The KDC is vulnerable to this attack.
  34. The MIT Kerberos 5 team has provided patches which have been applied to the
  35. updated software to fix these issues. Mandrakesoft encourages all users to
  36. upgrade immediately.
  37.  
  38.  
  39. Solution : http://www.mandrakesoft.com/security/advisories?name=MDKSA-2004:088
  40. Risk factor : High";
  41.  
  42.  
  43.  
  44.  script_description(english:desc["english"]);
  45.  
  46.  summary["english"] = "Check for the version of the krb5 package";
  47.  script_summary(english:summary["english"]);
  48.  
  49.  script_category(ACT_GATHER_INFO);
  50.  
  51.  script_copyright(english:"This script is Copyright (C) 2004 Tenable Network Security");
  52.  family["english"] = "Mandrake Local Security Checks";
  53.  script_family(english:family["english"]);
  54.  
  55.  script_dependencies("ssh_get_info.nasl");
  56.  script_require_keys("Host/Mandrake/rpm-list");
  57.  exit(0);
  58. }
  59.  
  60. include("rpm.inc");
  61. if ( rpm_check( reference:"ftp-client-krb5-1.3-6.3.100mdk", release:"MDK10.0", yank:"mdk") )
  62. {
  63.  security_hole(0);
  64.  exit(0);
  65. }
  66. if ( rpm_check( reference:"ftp-server-krb5-1.3-6.3.100mdk", release:"MDK10.0", yank:"mdk") )
  67. {
  68.  security_hole(0);
  69.  exit(0);
  70. }
  71. if ( rpm_check( reference:"krb5-server-1.3-6.3.100mdk", release:"MDK10.0", yank:"mdk") )
  72. {
  73.  security_hole(0);
  74.  exit(0);
  75. }
  76. if ( rpm_check( reference:"krb5-workstation-1.3-6.3.100mdk", release:"MDK10.0", yank:"mdk") )
  77. {
  78.  security_hole(0);
  79.  exit(0);
  80. }
  81. if ( rpm_check( reference:"libkrb51-1.3-6.3.100mdk", release:"MDK10.0", yank:"mdk") )
  82. {
  83.  security_hole(0);
  84.  exit(0);
  85. }
  86. if ( rpm_check( reference:"libkrb51-devel-1.3-6.3.100mdk", release:"MDK10.0", yank:"mdk") )
  87. {
  88.  security_hole(0);
  89.  exit(0);
  90. }
  91. if ( rpm_check( reference:"telnet-client-krb5-1.3-6.3.100mdk", release:"MDK10.0", yank:"mdk") )
  92. {
  93.  security_hole(0);
  94.  exit(0);
  95. }
  96. if ( rpm_check( reference:"telnet-server-krb5-1.3-6.3.100mdk", release:"MDK10.0", yank:"mdk") )
  97. {
  98.  security_hole(0);
  99.  exit(0);
  100. }
  101. if ( rpm_check( reference:"ftp-client-krb5-1.2.7-1.4.91mdk", release:"MDK9.1", yank:"mdk") )
  102. {
  103.  security_hole(0);
  104.  exit(0);
  105. }
  106. if ( rpm_check( reference:"ftp-server-krb5-1.2.7-1.4.91mdk", release:"MDK9.1", yank:"mdk") )
  107. {
  108.  security_hole(0);
  109.  exit(0);
  110. }
  111. if ( rpm_check( reference:"krb5-devel-1.2.7-1.4.91mdk", release:"MDK9.1", yank:"mdk") )
  112. {
  113.  security_hole(0);
  114.  exit(0);
  115. }
  116. if ( rpm_check( reference:"krb5-libs-1.2.7-1.4.91mdk", release:"MDK9.1", yank:"mdk") )
  117. {
  118.  security_hole(0);
  119.  exit(0);
  120. }
  121. if ( rpm_check( reference:"krb5-server-1.2.7-1.4.91mdk", release:"MDK9.1", yank:"mdk") )
  122. {
  123.  security_hole(0);
  124.  exit(0);
  125. }
  126. if ( rpm_check( reference:"krb5-workstation-1.2.7-1.4.91mdk", release:"MDK9.1", yank:"mdk") )
  127. {
  128.  security_hole(0);
  129.  exit(0);
  130. }
  131. if ( rpm_check( reference:"telnet-client-krb5-1.2.7-1.4.91mdk", release:"MDK9.1", yank:"mdk") )
  132. {
  133.  security_hole(0);
  134.  exit(0);
  135. }
  136. if ( rpm_check( reference:"telnet-server-krb5-1.2.7-1.4.91mdk", release:"MDK9.1", yank:"mdk") )
  137. {
  138.  security_hole(0);
  139.  exit(0);
  140. }
  141. if ( rpm_check( reference:"ftp-client-krb5-1.3-3.3.92mdk", release:"MDK9.2", yank:"mdk") )
  142. {
  143.  security_hole(0);
  144.  exit(0);
  145. }
  146. if ( rpm_check( reference:"ftp-server-krb5-1.3-3.3.92mdk", release:"MDK9.2", yank:"mdk") )
  147. {
  148.  security_hole(0);
  149.  exit(0);
  150. }
  151. if ( rpm_check( reference:"krb5-server-1.3-3.3.92mdk", release:"MDK9.2", yank:"mdk") )
  152. {
  153.  security_hole(0);
  154.  exit(0);
  155. }
  156. if ( rpm_check( reference:"krb5-workstation-1.3-3.3.92mdk", release:"MDK9.2", yank:"mdk") )
  157. {
  158.  security_hole(0);
  159.  exit(0);
  160. }
  161. if ( rpm_check( reference:"libkrb51-1.3-3.3.92mdk", release:"MDK9.2", yank:"mdk") )
  162. {
  163.  security_hole(0);
  164.  exit(0);
  165. }
  166. if ( rpm_check( reference:"libkrb51-devel-1.3-3.3.92mdk", release:"MDK9.2", yank:"mdk") )
  167. {
  168.  security_hole(0);
  169.  exit(0);
  170. }
  171. if ( rpm_check( reference:"telnet-client-krb5-1.3-3.3.92mdk", release:"MDK9.2", yank:"mdk") )
  172. {
  173.  security_hole(0);
  174.  exit(0);
  175. }
  176. if ( rpm_check( reference:"telnet-server-krb5-1.3-3.3.92mdk", release:"MDK9.2", yank:"mdk") )
  177. {
  178.  security_hole(0);
  179.  exit(0);
  180. }
  181. if (rpm_exists(rpm:"krb5-", release:"MDK10.0")
  182.  || rpm_exists(rpm:"krb5-", release:"MDK9.1")
  183.  || rpm_exists(rpm:"krb5-", release:"MDK9.2") )
  184. {
  185.  set_kb_item(name:"CAN-2004-0642", value:TRUE);
  186.  set_kb_item(name:"CAN-2004-0643", value:TRUE);
  187.  set_kb_item(name:"CAN-2004-0644", value:TRUE);
  188.  set_kb_item(name:"CAN-2004-0772", value:TRUE);
  189. }
  190.